package com.meritdata.cloud.data.manager.model.service;

import com.meritdata.cloud.data.standard.quality.entity.TdDataQualityRule;

import java.util.List;
import java.util.Map;

public interface IDataModelColumnService {

    List<Map> getColumnInfoData(Long modelId);

     List<TdDataQualityRule> qualityRuleList();

    boolean saveQualityRule(long tableId, long columnId, String columnName, long qualityRuleId, long dictPartId, long dictPartColumnId);

    boolean delQualityRule(long qualityRuleColumnConfigId);

    boolean saveMaskRule(long tableId, String columnName, long datamaskId, int securityLevelCode);

    boolean delMaskRule(long columnConfigId);

    boolean multiSaveQualityRule(long tableId, long[] columnIds, String[] columnNames, long qualityRuleId, long dictPartId, long dictPartColumnId);

    boolean multiSaveMaskRule(long tableId, String[] columnNames, long datamaskId, int securityLevelCode);
}
